package com.property.manage.dao.renovation;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.property.manage.model.flowingWater.FlowingWaterEntity;
import com.property.manage.model.flowingWater.FlowingWaterVo;
import com.property.manage.model.renovation.RenovationEntity;
import com.property.manage.model.renovation.RenovationVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * 描述
 *
 * @author lwb
 * @since 2020/7/15
 */
@Repository
public interface RenovationMapper extends BaseMapper<RenovationEntity> {

    IPage<RenovationVo> getPage(@Param("page") IPage<RenovationVo> page, @Param("villageId") Integer villageId,  @Param("building") Integer building,
                                @Param("unit") Integer unit, @Param("roomNumber") String roomNumber, @Param("startTime")String startTime, @Param("endTime")String endTime);
    RenovationVo queryById(@Param("id")Integer id);

}
